package com.xwli.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @author xwli
 * @date: 2021/9/6 21:26
 * @desc
 * @since JDK 1.8
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker//添加对熔断的支持
public class DeptProviderStarterHystrix_8004 {
    public static void main(String[] args) {
        SpringApplication.run(DeptProviderStarterHystrix_8004.class,args);
    }
}

